added samples
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2010 / CSCustomIEContextMenu / NativeMethods / POINT.cs
blobf5041eecd70cb25e53a42bb1c7373aff6a7aca38
1 /****************************** Module Header ******************************\
2 * Module Name: POINT.cs
3 * Project: CSCustomIEContextMenu
4 * Copyright (c) Microsoft Corporation.
5 *
6 * The class POINT specifies the screen coordinates for the menu.
7 *
8 *
9 * This source is subject to the Microsoft Public License.
10 * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
11 * All other rights reserved.
13 * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
14 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
15 * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
16 \***************************************************************************/
18 using System.Runtime.InteropServices;
20 namespace CSCustomIEContextMenu.NativeMethods
22 [StructLayout(LayoutKind.Sequential)]
23 public class POINT
25 public int x;
26 public int y;
27 public POINT()
31 public POINT(int x, int y)
33 this.x = x;
34 this.y = y;